resp={
    statusCode: 200,
    headers: {
      date: 'Fri, 02 May 2025 07:11:17 GMT',
      'content-type': 'application/json',
      'transfer-encoding': 'chunked',
      connection: 'keep-alive',
      'set-cookie': [
        'HWWAFSESTIME=1746169876726; path=/', 
        'HWWAFSESID=63725f1548f4441ffd; path=/'
      ],
      vary: 'Accept-Encoding',
      'x-frame-options': 'SAMEORIGIN',
      'x-content-type-options': 'nosniff',
      'x-xss-protection': '1; mode=block',
      'strict-transport-security': 'max-age=63072000; includeSubdomains; preload',
      'referrer-policy': 'origin',
      'x-download-options': 'noopen',
      'x-permitted-cross-domain-policies': 'master-only',
      'content-encoding': 'gzip',
      server: 'CW'
    },
    body: '{"code":200,"msg":null,"data":{"userPhoto":"https://obs-fix-video.obs.cn-north-1.myhwclouds.com/0309431728.jpg","idType":"","ticketValue":"TGT-17033195-Vf0hRn9XKBCZeExAVk9YHuV3LqTt0NwJjtGaPBiIVhQGsvWEzh-foton.com.cn","isFirstLogin":"0","auth":"3594766D091ED0DB08D905113127E922D96C78ED90A8CEC0096D8E636853FFDE9EE7CA0C","idCard":"","idCode":"","sex":0,"userName":"流过","token":"eyJhbGciOiJIUzUxMiJ9.eyJleHBpcmVUaW1lIjoiMjAyNS0wNS0wMyAxNToxMToxNyIsInVzZXJOYW1lIjoiMTY2MzA3MjQ0NTMiLCJ0b2tlbiI6ImUxNTAwMmYzLTc3ZDYtNGE4Mi1iN2MxLTMxMWQ3M2Q5MDQxMyJ9.mgGUYkgSBXYxkHApmk752GO2YY0D_0vk5VdQmdzu7OJoTSdmzKfL6uqB6LW9Y89tLUtsuiovkuPgILzWhuOJTQ","uid":6424384,"memberComplexCode":"BFE249942CF3709E4F79D973","expireTime":"2025-05-03 15:11:17","signIn":"已签到","tel":"16630724453","userType":61,"email":"","memberID":"9547437","ticketName":"FOTONTGT"}}'
  }
const ticketValue = JSON.parse(resp.body).data.ticketValue;
console.log(ticketValue); 